<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri= "http://java.sun.com/jsp/jstl/core" prefix= "c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>列表内容</title>

<link href="${pageContext.request.contextPath }/portal/css/common.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="${pageContext.request.contextPath }/portal/page/page.js"></script>

</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="45%">
      <div align="left">
        <span class="STYLE22">&nbsp;&nbsp;共有
          <strong> <c:if test="${not empty param.totleCnt}">${param.totleCnt }</c:if><c:if test="${empty param.totleCnt}">0</c:if> </strong>条记录，当前第<strong> <c:if test="${not empty param.totleCnt}">${param.currentPage }</c:if><c:if test="${empty param.totleCnt}">0</c:if> </strong>页，共 <strong> <c:if test="${not empty param.totlePage }">${param.totlePage }</c:if><c:if test="${empty param.totlePage }">0</c:if> </strong>页</span>
      </div>
    </td>
    <td width="55%">
      <table width="312" border="0" align="right" cellpadding="0" cellspacing="0">
        <tr>
          <%-- 首页 --%>
          <td width="49">
            <div align="center">
              <c:if test="${param.currentPage le 1}">
                <a>
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_54_dis.gif" width="40" height="15" />
                </a>
              </c:if>
              <c:if test="${param.currentPage gt 1}">
                <a href="${pageContext.request.contextPath }${param.firPageUrl}">
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_54.gif" width="40" height="15" />
                </a>
              </c:if>
            </div>
          </td>
          
          <%-- 上一页 --%>
          <td width="49">
            <div align="center">
              <c:if test="${param.currentPage le 1}">
                <a>
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_56_dis.gif" width="40" height="15" />
                </a>
              </c:if>
              <c:if test="${param.currentPage gt 1}">
                <a href="${pageContext.request.contextPath }${param.firPageUrl}&currentPage=${param.currentPage - 1}">
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_56.gif" width="45" height="15" />
                </a>
              </c:if>
            </div>
          </td>
          
          <%-- 下一页 --%>
          <td width="49">
            <div align="center">
              <c:if test="${param.totlePage le param.currentPage}">
                <a>
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_58_dis.gif" width="45" height="15" />
                </a>
              </c:if>
              <c:if test="${param.totlePage gt param.currentPage}">
                <a href="${pageContext.request.contextPath }${param.firPageUrl}&currentPage=${param.currentPage + 1}">
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_58.gif" width="45" height="15" />
                </a>
              </c:if>
            </div>
          </td>
          
          <%-- 尾页 --%>
          <td width="49">
            <div align="center">
              <c:if test="${param.totlePage le param.currentPage}">
                <a>
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_60_dis.gif" width="40" height="15" />
                </a>
              </c:if>
              <c:if test="${param.totlePage gt param.currentPage}">
                <a href="${pageContext.request.contextPath }${param.firPageUrl}&currentPage=${param.totlePage}">
                  <img src="${pageContext.request.contextPath }/portal/page/img/main_60.gif" width="40" height="15" />
                </a>
              </c:if>
            </div>
          </td>
          <td width="37" class="STYLE22">
            <div align="center">转到</div>
          </td>
          <td width="22">
            <div align="center">
              <input type="text" name="textfield" id="textfield" style="width:20px; height:12px; font-size:12px; border:solid 1px #7aaebd;"/>
            </div>
          </td>
          <td width="22" class="STYLE22">
            <div align="center">页</div>
          </td>
          
          <%-- 页跳转 --%>
          <td width="35">
            <c:if test="${param.totlePage le 1}">
              <a>
                <img src="${pageContext.request.contextPath }/portal/page/img/main_62_dis.gif" width="26" height="15" />
              </a>
            </c:if>
            <c:if test="${param.totlePage gt 1}">
              <a href="javascript:jumpPage(this, 'textfield', 'totlePageCnt', 'hrefId')">
                <img src="${pageContext.request.contextPath }/portal/page/img/main_62.gif" width="26" height="15" />
              </a>
            </c:if>
            <input type="hidden" id="totlePageCnt" name="totlePageCnt" value="${param.totlePage}" />
            <input type="hidden" id="hrefId" name="hrefId" value="${pageContext.request.contextPath }${param.firPageUrl}&currentPage=" />
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</body>
</html>